#pragma once
#include <stdio.h>
#include <malloc.h>
#include <assert.h>

#define ElemType int

typedef struct StackNode {
	ElemType data;
	struct StackNode *next;
} StackNode;

typedef StackNode *LinkStack;

